<style lang='less' >

</style>

<template>
  <div id="couponPage" class="pageView">
    <nav-title :pageType="titleMsg"></nav-title>
    <div class="searchDiv">
      <el-col :span="1">&nbsp;</el-col>
      <el-col :span="22"  class="contentView">
        <transition name="fade" mode="out-in">
          <router-view
          v-on:setTitleMsg='setTitleMsg'
          ></router-view>
        </transition>
      </el-col>
      <el-col :span="1">&nbsp;</el-col>
    </div>
  </div>
  
</template>

<script>
    import navTitle from 'components/Title.vue';

    export default {
      props: [''],
      components: {
        navTitle
      },
      data () {
        return {
          titleMsg: []
        }
      },
      methods: {
        setTitleMsg (e) {
          this.titleMsg = e;
        }
      },
      created () {

      },
      mounted () {

      }
    }
</script>
